package com.ruoyi.system.bean;

import java.util.ArrayList;
import java.util.List;

public class ListData<E> {
    private List<E> list = new ArrayList();

    public ListData() {
    }

    public ListData(List<E> list) {
        this.list = list;
    }

    public List<E> getList() {
        return this.list;
    }

    public void setList(List<E> list) {
        this.list = list;
    }

    public int getSize() {
        return this.list == null ? 0 : this.list.size();
    }
}
